package com.kerrykidz.system.service;

import java.util.List;

import javax.servlet.http.HttpServletResponse;

import org.apache.ibatis.annotations.Param;

import com.kerrykidz.membership.dao.model.CusMemClassEntity;
import com.rdp.framework.exception.RDPException;

public interface ICusMemClassService {
	
	/**
	 * 课程签到查询
	 * 
	 * @param 
	 *            
	 * @return
	 * @throws RDPException
	 */
	
	public CusMemClassEntity findClassDetail(CusMemClassEntity entity)throws RDPException;
	
	/**
	 * 学生姓名，课程下拉框
	 * 
	 * @param 
	 *            
	 * @return
	 * @throws RDPException
	 */
	public List<CusMemClassEntity> select(@Param("fkBranId") String fkBranId) throws RDPException;
	
	/**
	 * 新增记录
	 * 
	 * @param 
	 *            
	 * @return
	 * @throws RDPException
	 */
	public void saveEntity(CusMemClassEntity entity) throws RDPException;
	
	/**
	 * 兄弟姐妹的购课历史
	 * @return
	 * @throws RDPException
	 */
	public List<CusMemClassEntity> findAllMemClass(@Param("fkBranId") String fkBranId, @Param("memberIdList") List<String> memberIdList) throws RDPException;
	
	/**
	 * 课程签到导出
	 * @throws RDPException
	 * @date: 2014年11月18日
	 */
	public boolean courseSignExport(String courseId,String courseName,String branId,HttpServletResponse response) throws RDPException;
}
